//
//  CustomNavgationCotr.m
//  
//
//  Created by 黄卫 on 17/2/24.
//  Copyright © 2017年 huangwei. All rights reserved.
//

#import "TYCustomNavgationCotr.h"

@implementation TYCustomNavgationCotr

- (instancetype)initWithRootViewController:(UIViewController *)rootViewController
{
    if (self = [super initWithRootViewController:rootViewController]) {
        [self.navigationBar setBackgroundImage:imageWithColor(GJNabBarBackColor) forBarMetrics:UIBarMetricsDefault];
        self.navigationBar.translucent = YES;
        self.navigationBar.barStyle = UIBarStyleBlack;
        self.navigationBar.shadowImage = [UIImage new];
    }
    return self;
}

@end
